﻿using RankingWorld.Models;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace RankingWorld.Repositories
{
    public interface IRankingRepository
    {
        Task<IEnumerable<Ranking>> GetAllRankingsAsync();
        Task<Ranking> GetRankingByIdAsync(int id);
        Task<int> AddRankingAsync(Ranking ranking);
        Task<int> UpdateRankingAsync(Ranking ranking);
        Task<int> DeleteRankingAsync(int id);
    }
}